.. _MFPMediaItem_GetPresentationAttribute: ===================================== MFPMediaItem_GetPresentationAttribute ===================================== Queries the media item for a presentation attribute. :: MFPMediaItem_GetPresentationAttribute PROTO pMediaItem:DWORD, guidMFAttribute:DWORD, pvValue:DWORD **Parameters** * ``pMediaItem`` - A pointer to the Media Item (`IMFPMediaItem `_) object. * ``guidMFAttribute`` - GUID that identifies the attribute value to query. * ``pvValue`` - Pointer to a `PROPVARIANT `_ that receives the value. **Returns** TRUE if successful or FALSE otherwise. **Notes** Call `PropVariantClear `_ to free the memory allocated and stored in variable pointed to by the ``pvValue`` parameter. Includelib mfuuid.lib to reference the already defined and exported property GUIDs in that library. **See Also** :ref:`MFPMediaItem_GetStreamAttribute`, :ref:`MFPMediaItem_GetCharacteristics`